/*
 * @Description: 全局配置信息
 */
const path = require('path');

module.exports = {
    Port: 3000, // 启动端口
    staticDir: path.resolve('./public'), // 静态资源路径
    uploadDir: path.join(__dirname, path.resolve('public/')), // 上传文件路径
    // 数据库连接设置
    dbConfig: {
        connectionLimit: 10,
        host: '192.168.56.10', //虚拟机环境
        // host: '192.168.0.107', //一博电脑*
        user: 'root',
        password: 'root',
        database: 'gulimall_pms'
    }
}